how to check if two strings are same in python

44

# Program to check the email and re-enterd email is same or different
email= "[email protected]"
confirmemail="[email protected]"

if(email.lower() == confirmemail.lower()):
    print("Email Address are same")
else:
    print("Email Address are not same")

Comments

Submit
0 Comments